import axios from 'axios'

export const get=(url)=>{

    return new Promise((resolve,reject)=>{

        axios.get(url).then(resp=>{
            resolve(resp)
        }).catch(err=>{
            reject(err)
        })
    })
}